package cn.flying.cloud.base.common.constants;

/**
 * 系统常量定义
 *
 * @author: admin
 * @date: 2022年04月02日 21:39
 * @version: 1.0
 */
public class Constants {

    /**
     * 超级管理员用户名
     */
    public static final String ADMINISTRATOR = "admin";

    /**
     * 认证用的验证码
     */
    public static final String AUTH_CODE = "Auth_Code";

    /**
     * 认证用户的权限
     */
    public static final String AUTH_PERMS = "Auth_Perms";

    /**
     * 认证用户的资源
     */
    public static final String AUTH_RES = "Auth_Res";

    /**
     * 用户认证Token
     */
    public static final String ACCESS_TOKEN = "Access_Token";

    /**
     * 用户刷新Token
     */
    public static final String REFRESH_TOKEN = "Refresh_Token";

    /**
     * 用户认证token
     */
    public static final String AUTH_TOKEN = "Auth_Token";

    /**
     * 当前用户Id
     */
    public static final String USER_ID = "User_Id";

    /**
     * 当前用户名
     */
    public static final String USER_NAME = "User_Name";

    /**
     * 当前姓名
     */
    public static final String FULL_NAME = "Full_Name";

    /**
     * 租户号
     */
    public static final String TENANT_ID = "Tenant_Id";

    /**
     * token id
     */
    public static final String JWT_ID = "jwtId";

    /**
     * 认证主体
     */
    public static final String AUTH_PRINCIPAL = "Principal";

    /**
     * TraceId Key
     */
    public static final String TRAC_ID = "X-TraceId";

    /**
     * SpanId Key
     */
    public static final String SPAN_ID = "X-SpanId";

    /**
     * 开发者
     */
    public static final String REQUEST_ID = "X-RequestId";
    /**
     * 环境
     */
    public static final String ENV_ID = "X-EnvId";
    /**
     * 枚举前缀
     */
    public static final String ENUM_PREFIX = "Enum:";
}
